<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spf" uri="http://www.springframework.org/tags/form"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
 
<html>
<head>
<base href="<%=basePath%>">

<title>登录</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">
<meta http-equiv="X-UA-Compatible" content="IE=11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width" /> 

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<style type="text/css">
    .table {border:1px solid #0094ff;min-height: 25px; line-height: 25px; text-align: center; border-collapse: collapse;}   
 </style>
 <script language="JavaScript">
	function keyLogin(){
	 if (event.keyCode==13)  //回车键的键值为13
	  formSubmit();
	}
</script>

</head>
 
<body onkeydown="keyLogin();">
<form name="FormData" id="FormData" method="post" action="">
  <div align="center" style="width:600px;height: 300px; margin:auto; text-align:center; margin-top:50px;border-radius: 20px;">
		<table width="100%"   border="1"  cellpadding="0" cellspacing="0"  class="table">
			<tr>
			    <td align="left" colspan="3"><img src="<%=basePath%>imgs/logo.gif" width="245" height="46"></td>
			</tr>
			<tr>
			    <td height="40" colspan="3" align="left" bgcolor="#97CBFF"><img src="<%=basePath%>imgs/icon__officeman.gif" width="16" height="16"> 用户登录</td>
			</tr>
			<tr>
				<td width="1%" bgcolor="#97CBFF">&nbsp;</td>
				<td width="97%" height="300" >
				<div id="lables" style="text-align: center;"></div>
					<table   border="0" align="center" cellpadding="0" cellspacing="00">
						<tr>
							<td width="90" height="40" align="right" valign="middle">账号：</td>
							<td align="left" valign="middle">&nbsp;<input type="text" name="account" id="account" onblur="checkNickname()" ></td>
						</tr>
						<tr>
							<td height="40" align="right" valign="middle">密码：</td>
							<td align="left" valign="middle">&nbsp;<input type="password" name="passwords" id="passwords" onblur="checkPassword()" ></td>
						</tr>
						<tr>
							<td height="40" colspan="3" align="center" valign="middle">
							<img src="<%=basePath%>imgs/login.gif" width="98" height="32" onclick="formSubmit();" onMouseOver="this.style.cursor='hand'" onmouseout="this.style.cursor='normal'"  >
							</td>
						</tr>
					</table>
				</td>
				<td width="1%"  bgcolor="#97CBFF">&nbsp;</td>
			</tr>
			<tr>
			    <td height="5" colspan="3" bgcolor="#97CBFF">&nbsp;</td>
			</tr>
		</table>
	</div>	
</form>
</body>
</html>
<script type="text/javascript" src="<%=basePath%>js/jquery-1.11.3.js"></script>
<script type="text/javascript" src="<%=basePath%>js/usere.js"></script>